/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package manager;

import dao.RoomDao;
import entity.Room;
import java.util.List;

/**
 *
 * @author daz
 */
public class RoomManager {

    private RoomDao roomDao;

    public void setRoomDao(RoomDao roomDao) {
        this.roomDao = roomDao;
    }

    public RoomDao getRoomDao() {
        return roomDao;
    }

    public List<Room> getListRoom() {
     return this.roomDao.getListRoom();
    }

    public void insertNewRoom(Room r) {
      this.roomDao.insertNewRoom(r);
    }
}
